<div id="personalPageHeader">
  <div id="personalHeadLeft">
    <img src="<?php echo $user['User']['url']; ?>" id="personalHeadImg"/>
  </div>
  <div id="personalHeadRight">
    <div><?php echo $user['User']['username'];?></div>
    <div><?php echo $this->Html->link("http://localhost".$this->Html->url(array('controller' => 'user', 'action' => 'userCenter', $user['User']['id'])), array('controller'=>'users','action' => 'userCenter', $user['User']['id'])); ?></div>

    <div><?php echo $this->Html->link('修改头像', array('controller'=>'Users','action' => 'modifyUser')); ?></div>
    <?php echo $this->Html->link('发布食谱', array('controller'=>'Recipes','action' => 'add')); ?>
  </div>
  <ul id="tabs">
    <li><?php echo $this->Html->link($this->Html->image('myRecipe.png', array('class' => 'tabsImg'))."<div>我的食谱</div>",array('controller'=>'users','action'=>'userCenter'),array('escape'=>false)); ?></li><li><?php echo $this->Html->link($this->Html->image('friendRecipe.png', array('class' => 'tabsImg'))."<div>好友食谱</div>",array('controller'=>'users','action'=>'viewFriendRecipes'),array('escape'=>false)); ?></li><li><?php echo $this->Html->link($this->Html->image('myFriend.png', array('class' => 'tabsImg'))."<div>好友列表</div>",array('controller'=>'users','action'=>'viewFollow'),array('escape'=>false)); ?></li><li><?php echo $this->Html->link($this->Html->image('inbox.png', array('class' => 'tabsImg'))."<div>私信</div>",array('controller'=>'messages','action'=>'index'),array('escape'=>false)); ?></li>
  </ul>
  <div class="clearFix"></div>
</div>